#ifndef FEUILLEANIMATION_
#define FEUILLEANIMATION_

#include "SDL/SDL.h"
#include <vector>
using namespace std;
#include <iostream>

class FeuilleAnimation
{
private:
	

public:
	static const int DROITE = 0;
	static const int GAUCHE = 1;
	static const int HAUT = 2;
	static const int BAS = 3;
	static const int ACTION = 3;
	int nbImage;
	SDL_Surface* feuille;
	vector< vector<SDL_Rect> > clips;
	FeuilleAnimation(char* nom);
	~FeuilleAnimation();
	void decoupageFeuille(int largeur, int hauteur, int nbImage);
};
#endif /*FEUILLEANIMATION_*/
